package com.siyoumi.app.modules.user.vo;

import com.siyoumi.validator.annotation.HasAnyText;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Size;

@Data
@Accessors(chain = true)
public class SysUserEdit {
    String uid;

    @Size(max = 50, message = "最多50位字符")
    String user_name;
    @Size(max = 200)
    String user_headimg;
    @Size(max = 200, message = "最多200位字符")
    String user_pwd;
    @Size(max = 20, message = "最多20位字符")
    String user_pwd_old;

    @Size(max = 50)
    String user_email;
}
